<layout name="layout"/>
<p><a href="__CONTROLLER__/index" class="uk-button uk-button-default">{$Think.lang.back}</a>
</p>




<form id="validate_form" class="uk-form" method="post" action="__CONTROLLER__/updateHandle">
<input type="hidden" name="site_id" value="{$site_id}"/>

<table class="uk-table">

<tr><td>商户ID</td><td>
{$site_mid}
</td></tr>
<tr><td>网站URL</td><td>
<input type="text" name="site_domain" value="{$site_domain}" />
</td></tr>
<tr><td>网站密钥</td><td>
<input type="text" name="site_key" value="{$site_key}" />
</td></tr>
<tr><td>服务内容</td><td>
<textarea name="site_service" required>{$site_service}</textarea>
</td></tr>
<tr><td>交易类型</td><td>
 <label><input type="radio" name="site_process_mode" value="0" <eq name="site_process_mode" value="0">checked</eq> ></input>预授权</label>&nbsp;&nbsp;&nbsp;&nbsp;
 <label><input type="radio" name="site_process_mode" value="1"  <eq name="site_process_mode" value="1">checked</eq> >消费</label>
</td></tr>

<tr><td>状态</td><td>
 <label><input type="radio" name="site_isactive" value="0" <eq name="site_isactive" value="0">checked</eq>>否</label>&nbsp;&nbsp;&nbsp;&nbsp;
 <label><input type="radio" name="site_isactive" value="1"  <eq name="site_isactive" value="1">checked</eq> >是</label>
</td></tr>
<tr><td>是否直连</td><td>
 <label><input type="radio" name="site_isdirect" value="0" <eq name="site_isdirect" value="0">checked</eq>>否</label>&nbsp;&nbsp;&nbsp;&nbsp;
 <label><input type="radio" name="site_isdirect" value="1" <eq name="site_isdirect" value="1">checked</eq> >是</label>
</td></tr>
<tr><td>是否支持VT</td><td>
 <label><input type="radio" name="site_isvt" value="0" <eq name="site_isvt" value="0">checked</eq>>否</label>&nbsp;&nbsp;&nbsp;&nbsp;
 <label><input type="radio" name="site_isvt" value="1" <eq name="site_isvt" value="1">checked</eq> >是</label>
</td></tr>
<tr><td>Visa通道</td><td>
<select name="site_visa">
<option value="">--</option>
<volist name=":getChannelList()" id="vo">
<option value="{$vo.cn_id}" <eq name="vo.cn_id" value="$site_visa">selected</eq>>{$vo.cn_id}-{$vo.cn_name}-{$vo.cn_remark}</option>
</volist>
</select>
</td></tr>
<tr><td>MasterCard通道</td><td>
<select name="site_master">
<option value="">--</option>
<volist name=":getChannelList()" id="vo">
<option value="{$vo.cn_id}" <eq name="vo.cn_id" value="$site_master">selected</eq>>{$vo.cn_id}-{$vo.cn_name}-{$vo.cn_remark}</option>
</volist>
</select>
</td></tr>
<tr><td>Diners通道</td><td>
<select name="site_diners">
<option value="">--</option>
<volist name=":getChannelList()" id="vo">
<option value="{$vo.cn_id}" <eq name="vo.cn_id" value="$site_diners">selected</eq>>{$vo.cn_id}-{$vo.cn_name}-{$vo.cn_remark}</option>
</volist>
</select>
</td></tr>
<tr><td>Amex通道</td><td>
<select name="site_amex">
<option value="">--</option>
<volist name=":getChannelList()" id="vo">
<option value="{$vo.cn_id}" <eq name="vo.cn_id" value="$site_amex">selected</eq>>{$vo.cn_id}-{$vo.cn_name}-{$vo.cn_remark}</option>
</volist>
</select>
</td></tr>
<tr><td>Jcb通道</td><td>
<select name="site_jcb">
<option value="">--</option>
<volist name=":getChannelList()" id="vo">
<option value="{$vo.cn_id}" <eq name="vo.cn_id" value="$site_jcb">selected</eq>>{$vo.cn_id}-{$vo.cn_name}-{$vo.cn_remark}</option>
</volist>
</select>
</td></tr>
<tr><td>Discover通道</td><td>
<select name="site_discover">
<option value="">--</option>
<volist name=":getChannelList()" id="vo">
<option value="{$vo.cn_id}" <eq name="vo.cn_id" value="$site_discover">selected</eq>>{$vo.cn_id}-{$vo.cn_name}-{$vo.cn_remark}</option>
</volist>
</select>
</td></tr>
<tr><td>是否发送商户账单</td><td>
 <label><input type="radio" name="site_isbill_merchant" value="0" <eq name="site_isbill_merchant" value="0">checked</eq>>否</label>&nbsp;&nbsp;&nbsp;&nbsp;
 <label><input type="radio" name="site_isbill_merchant" value="1" <eq name="site_isbill_merchant" value="1">checked</eq>>是</label>
</td></tr>
<tr><td>是否发送顾客账单</td><td>
 <label><input type="radio" name="site_isbill_customer" value="0" <eq name="site_isbill_customer" value="0">checked</eq>>否</label>&nbsp;&nbsp;&nbsp;&nbsp;
 <label><input type="radio" name="site_isbill_customer" value="1" <eq name="site_isbill_customer" value="1">checked</eq> >是</label>
</td></tr>
<tr><td>注册时间</td><td>
{$site_regtime}
</td></tr>
<tr><td>--</td><td>
<button class="uk-button uk-button-danger" type="submit">{$Think.lang.save}</button>
</td></tr>
</table>

</form>